package com.yixin.hospital.service;

import com.yixin.hospital.common.ApiResult;
import com.yixin.hospital.entity.domain.UserIpWhiteList;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yixin.hospital.entity.dto.req.userIpWhiteList.UserIpWhiteListAddReqDTO;
import com.yixin.hospital.entity.dto.req.userIpWhiteList.UserIpWhiteListEditReqDTO;

import javax.servlet.http.HttpServletRequest;

/**
* @author 
* @description 针对表【user_ip_white_list(用户ip白名单表)】的数据库操作Service
* @createDate 2024-03-26 21:02:35
*/
public interface UserIpWhiteListService extends IService<UserIpWhiteList> {

    ApiResult add(UserIpWhiteListAddReqDTO userIpWhiteListAddReqDTO, HttpServletRequest userName);

    ApiResult edit(UserIpWhiteListEditReqDTO userIpWhiteListEditReqDTO, HttpServletRequest request);
}
